
<div class="dialog_content">
	<form id="info_form" name="info_form" action="{:url('LinkmenuCate/addDo')}" method="post">
	<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
		<tr>
			<th width="80">菜单名称 :</th>
			<td><input type="text" name="title" id="name" class="input-text"></td>
		</tr>

		<tr>
			<th>状态 :</th>
			<td>
				<label><input type="radio" name="status" class="radio_style" value="1" checked="checked">&nbsp;启用&nbsp;&nbsp; </label>
				<label><input type="radio" name="status" class="radio_style" value="0">&nbsp;禁用&nbsp;&nbsp; </label>
			</td>
		</tr>
	</table>
	</form>
</div>
<script>
    $('#info_form').ajaxForm({success:complate,dataType:'json'});
    function complate(result){
        if(result.status == 1){
            $.dialog.get(result.dialog).close();
            $.yingloujie.tip({content:result.msg});
            setTimeout(function(){window.location.reload();},1000);
        } else {
            $.yingloujie.tip({content:result.msg, icon:'alert'});
        }
    }
</script>
